package com.ming.sportdemo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("clothes")
public class Clothes {
    @TableId(type = IdType.AUTO)
    private Integer clothesId;
    private String clothesType;
    private String clothesName;
    private double clothesPrice;
    private String clothesView;
    private Integer clothesNumber;

    public void setClothesId(Integer clothesId) {
        this.clothesId = clothesId;
    }

    public String getClothesType() {
        return clothesType;
    }

    public void setClothesType(String clothesType) {
        this.clothesType = clothesType;
    }

    public Integer getClothesNumber() {
        return clothesNumber;
    }

    public void setClothesNumber(Integer clothesNumber) {
        this.clothesNumber = clothesNumber;
    }

    public int getClothesId() {
        return clothesId;
    }

    public void setClothesId(int clothesId) {
        this.clothesId = clothesId;
    }

    public String getClothesName() {
        return clothesName;
    }

    public void setClothesName(String clothesName) {
        this.clothesName = clothesName;
    }

    public double getClothesPrice() {
        return clothesPrice;
    }

    public void setClothesPrice(double clothesPrice) {
        this.clothesPrice = clothesPrice;
    }

    public String getClothesView() {
        return clothesView;
    }

    public void setClothesView(String clothesView) {
        this.clothesView = clothesView;
    }

    @Override
    public String toString() {
        return "Clothes{" +
                "clothesId=" + clothesId +
                ", clothesType='" + clothesType + '\'' +
                ", clothesName='" + clothesName + '\'' +
                ", clothesPrice=" + clothesPrice +
                ", clothesView='" + clothesView + '\'' +
                ", clothesNumber=" + clothesNumber +
                '}';
    }
}
